<!DOCTYPE html>
<html lang="en">
	<head>
		<title>.:: {$Uri->get('application')} ::.</title>
		<link rel="shortcut icon" href="public/img/logo.png" />
		<meta name="resource-type" content="document" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta name="revisit-after" content="1" />
		<meta name="classification" content="Intranet" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="Sistema gerenciador de aplicações" />
		<meta name="keywords" content="FoxSis" />
		<meta name="distribution" content="Local" />
		<meta name="rating" content="General" />
		<meta name="author" content="FoxSis" />
		<meta name="language" content="pt-br" />
		<meta name="doc-class" content="Completed" />
		<meta name="doc-rights" content="Public" />
		<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery-1.8.3.min.js"></script>
		<link rel="stylesheet" type="text/css" href="{$PUBLIC_PATH}css/jquery/table_jui.css"/>
		<link rel="stylesheet" type="text/css" href="{$PUBLIC_PATH}css/flashMessage.css"/>
		<link rel="stylesheet" type="text/css" href="{$PUBLIC_PATH}css/style.css"/>
		<link rel="stylesheet" type="text/css" href="{$PUBLIC_PATH}bootstrap/css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" href="{$PUBLIC_PATH}bootstrap/css/bootstrap-responsive.min.css">
		
		<link rel="stylesheet" href="{$PUBLIC_PATH}css/fullcalendar.css">	
		<link rel="stylesheet" href="{$PUBLIC_PATH}css/unicorn_002.css">
		<link rel="stylesheet" href="{$PUBLIC_PATH}js/select2/select2.css">
		
	</head>
	<body>
		<div id="header">
			<h1><a href="http://wbpreview.com/previews/WB0F35928/dashboard.html">Unicorn Admin</a></h1>		
		</div>
		<div id="user-nav" class="navbar navbar-inverse">
			<ul class="nav btn-group">
				<li class="btn btn-inverse dropdown" id="menu-sistemas">
					<a href="#" data-toggle="dropdown" data-target="#menu-sistemas" class="dropdown-toggle">
						<i class="icon icon-th-large icon-white"></i>
						<span class="text">Aplicações</span>&nbsp;<b class="caret"></b>
					</a>
					<ul class="dropdown-menu">
						<li><a class="sAdd" title="Corp" href="{$BASE_PATH}admin">Corporativo</a></li>
						<li><a class="sInbox" title="Corp" href="{$BASE_PATH}intelihelp">Intelihelp</a></li>
					</ul>
				</li>
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-user"></i> <span class="text">Perfil</span></a></li>
<!--                 <li class="btn btn-inverse dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">Messages</span> <span class="label label-important">5</span> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a class="sAdd" title="" href="#">new message</a></li>
                        <li><a class="sInbox" title="" href="#">inbox</a></li>
                        <li><a class="sOutbox" title="" href="#">outbox</a></li>
                        <li><a class="sTrash" title="" href="#">trash</a></li>
                    </ul>
                </li> -->
                <li class="btn btn-inverse"><a title="" href="#"><i class="icon icon-cog"></i> <span class="text">Configurações</span></a></li>
                <li class="btn btn-inverse"><a title="" href="{$BASE_PATH}login/index/logout"><i class="icon icon-share-alt"></i> <span class="text">Sair</span></a></li>
            </ul>
        </div>
        
        <!--MENU DO SISTEMA-->    
		<div id="sidebar">
			{$menuSistema}
		</div>
		<!-- FIM DO MENU -->

		<!-- CONTEUDO DA APLICACAO -->
		<div id="content">
			<div id="content-header">
				<h1>{$label}</h1>
				
				<!-- MENU DE CONTEXTO DA TELA -->
				<!-- <div style="width: auto;" class="btn-group">
					<a data-original-title="Manage Files" class="btn btn-large tip-bottom"><i class="icon-file"></i></a>
					<a data-original-title="Manage Users" class="btn btn-large tip-bottom"><i class="icon-user"></i></a>
					<a data-original-title="Manage Comments" class="btn btn-large tip-bottom"><i class="icon-comment"></i><span class="label label-important">5</span></a>
					<a data-original-title="Manage Orders" class="btn btn-large tip-bottom"><i class="icon-shopping-cart"></i></a>
				</div> -->
				<!-- FIM DO MENU DE CONTEXTO DA TELA -->
			</div>
			<div id="breadcrumb">
				<a data-original-title="Go to Home" href="#" class="tip-bottom"><i class="icon-home"></i> Home</a>
				<a href="#" class="current">{$label}</a>
			</div>
			<div class="container-fluid">
				<div class="row-fluid">
					{$content}
				</div>
			</div>
		</div>
		<!-- FIM DO CONTEUDO DA APLICACAO -->
		
		<ul class="typeahead dropdown-menu"></ul>
	</body>
</html>

<link rel="stylesheet" href="{$PUBLIC_PATH}css/unicorn.css" class="skin-color">
		
<script src="{$PUBLIC_PATH}js/jquery.js"></script>
<script src="{$PUBLIC_PATH}js/jquery_002.js"></script>
<script src="{$PUBLIC_PATH}js/excanvas.js"></script>
<script src="{$PUBLIC_PATH}js/jquery_003.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.peity.min.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/select2/select2.min.js"></script>
<!-- <script src="{$PUBLIC_PATH}js/jquery_004.js"></script> -->
<script src="{$PUBLIC_PATH}js/unicorn.js"></script>
<!-- <script src="{$PUBLIC_PATH}js/jquery_005.js"></script> -->
<script src="{$PUBLIC_PATH}js/fullcalendar.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}bootstrap/js/bootstrap.min.js"></script>
<script src="{$PUBLIC_PATH}js/unicorn_002.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.maskedinput-1.3.min.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/jquery.validate.min.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/jquery/additional-methods.min.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/flashMessage.js"></script>
<script type="text/javascript" src="{$PUBLIC_PATH}js/foxsis.js"></script>

{literal}
<script type="text/javascript">
	$(document).ready(function(){
		//initDatePicker();
		initRichEditor();
		initFlashMessage();
		$(".dataTables_length select").select2();
		
		$('#sidebar li.active').parents('li').addClass('active open');
	});
	
	function initFlashMessage()
	{
		removeAllFlashMessages();
		{/literal}
			{if ($smarty.session.{$Uri->get('application')}.flashMessage)}
				setFlashMessage(
					'{$smarty.session.{$Uri->get('application')}.flashMessage.type}', 
					'{$smarty.session.{$Uri->get('application')}.flashMessage.title}', 
					'{$smarty.session.{$Uri->get('application')}.flashMessage.text}'
				);
			{/if}
		{literal}
	}
</script>
{/literal}